﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Media.Imaging;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Helpers;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Ioc;
using TestApp.Model;
using TestApp.Model.Data;
using TestApp.Messages;
using TestApp.Resources;

namespace TestApp.ViewModel.ItemsViewModel
{
    public class StoreItemViewModel : ViewModelBase
    {
        // Store
        public Store Store
        {
            get;
            set;
        }

        // City State Zip
        public String CityStateZip
        {
            get
            {
                return Store.City + " " + Store.State + ", " + Store.PostalCode;
            }
        }

        // Constructor
        public StoreItemViewModel(Store store)
        {
            Store = store;
        }
    }
}
